* {
  padding: 0;
  margin: 0;
  user-select: none;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}

@font-face {
  font-family: score;
  src: url(./font/DS-DIGIB-2.ttf);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.container {
  width: 100%;
  height: 100%;
  background-color: rgb(51, 102, 51);
  position: relative;
}

.wrapper{
  width: 100%;
  height: 100%;
  position: relative;
}
.game-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.game-layer .wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.game-layer .wrapper .game-ui {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 11ddadd;

}

.game-ui h1 {
  position: absolute;
  text-align: center;
  width: 200px;
  height: 100px;
  line-height: 100px;
  left: 50%;
  margin-left: -100px;
  top: 10px;
  font-size: 100px;
  font-family: score;
  color: rgba(255, 255, 255,0.5);
}

#scoreLable{
  display: none;
}

.game-layer .wrapper .game-sprites {
  position: absolute;
  top: 0;
}

/* 舍得身体 */
.snake-body {
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  position: absolute;
  font-size: 50px;
}

/* result-page */
.result-page {
  position: absolute;
  width: 300px;
  height: 200px;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  text-align: center;
  display: none;
}
.result-page h1{
  position: absolute;
  left: 0;
  width: 300px;
  height: 200px;
  background-image: url(./imgs/R.png);
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -100px;
  background-size: 100%;
}

.result-page .panel{
  width: 300px;
  height: 200px;
  background-size: 100% 100%;
  margin-top: -70px;
  line-height: 200px;
  font-size: 100px;
  color: #fff;
  background-image: url('./imgs/level_select/bg.png');
}


.result-page button {
  position: absolute;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 24px;
  margin-top: 50px;
  width: 200px;
  height: 65px;
  color: #330a0a;
  font-weight: bold;
  line-height: 65px;
  background-image: url(./imgs/shop/btn.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.start-page {
  position: absolute;
  width: 400px;
  height: 200px;
  background-color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  padding: 50px;
  display: none;
}
